package com.wulinbus.service.impl;

import java.util.List;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.wulinbus.dao.render.RenderDao;
import com.wulinbus.model.RenderProviderModel;
import com.wulinbus.service.RenderService;
@Service
public class RenderServiceImpl implements RenderService{
	@Resource
	private RenderDao renderDao;
	@Override
	public List<RenderProviderModel> getRenderProviderList(String keyword,Integer start, Integer pageSize) {
		// TODO Auto-generated method stub
		return renderDao.getRenderProviderList(keyword,start,pageSize);
	}
	@Override
	public Integer RenderProviderCount(String keyword) {
		// TODO Auto-generated method stub
		return renderDao.RenderProviderCount(keyword);
	}
	@Override
	public void insert(RenderProviderModel renderProviderModel) {
		// TODO Auto-generated method stub
		renderDao.insert(renderProviderModel);
	}
	@Override
	public Integer delete(Integer rpid) {
		// TODO Auto-generated method stub
		return renderDao.delete(rpid);
	}
	@Override
	public void update(RenderProviderModel renderProviderModel) {
		// TODO Auto-generated method stub
		renderDao.update(renderProviderModel);
	}
	@Override
	public RenderProviderModel getRenderProviderModel(Integer rpid) {
		// TODO Auto-generated method stub
		return renderDao.getRenderProviderModel(rpid);
	}
	@Override
	public List<RenderProviderModel> getRenderProviderAll() {
		// TODO Auto-generated method stub
		return renderDao.getRenderProviderAll();
	}
	@Override
	public List<RenderProviderModel> getRenderProviderArray(
			List<Integer> rpidList) {
		// TODO Auto-generated method stub
		return renderDao.getRenderProviderArray(rpidList);
	}

}
